<?php

class languageComponents extends sfComponents
{
  public function executeLanguage(sfWebRequest $request)
  {
      $this->actualCulture = $this->getUser()->getCulture();
      $this->languages = array('es' => 'Español', 'en' => 'English', 'pt' => 'Português');
  }
}